package com.ruoyi.common.core.cg.pojo;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName user
 */

public class User implements Serializable {
    /**
     * 用户主键
     */

    private Integer userId;

    /**
     * 用户类型 普通/vip
     */
    private String userType;

    /**
     * 用户状态  正常0、取消授权1、封禁2
     */
    private Integer userState;

    public Integer getUseState() {
        return userState;
    }

    public void setUseState(Integer useState) {
        this.userState = useState;
    }

    /**
     * 微信昵称
     */
    private String nickName;

    /**
     * 微信头像
     */
    private String avatarUrl;

    /**
     * 消费金额
     */
    private BigDecimal spendingAmount;

    /**
     * 授权时间
     */
    private Date authDate;

    /**
     * 消费时间
     */
    private Date buyDate;

    /**
     * 微信ID
     */
    private String openId;

    /**
     * 微信key
     */
    private String sessionKey;

    private Integer communityId;
   private Integer pageNum;
   private Integer pageSize;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    private static final long serialVersionUID = 1L;

    /**
     * 用户主键
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 用户主键
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 用户类型 普通/vip
     */
    public String getUserType() {
        return userType;
    }

    /**
     * 用户类型 普通/vip
     */
    public void setUserType(String userType) {
        this.userType = userType;
    }



    /**
     * 微信昵称
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * 微信昵称
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * 微信头像
     */
    public String getAvatarUrl() {
        return avatarUrl;
    }

    /**
     * 微信头像
     */
    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    /**
     * 消费金额
     */
    public BigDecimal getSpendingAmount() {
        return spendingAmount;
    }

    /**
     * 消费金额
     */
    public void setSpendingAmount(BigDecimal spendingAmount) {
        this.spendingAmount = spendingAmount;
    }

    /**
     * 授权时间
     */
    public Date getAuthDate() {
        return authDate;
    }

    /**
     * 授权时间
     */
    public void setAuthDate(Date authDate) {
        this.authDate = authDate;
    }

    /**
     * 消费时间
     */
    public Date getBuyDate() {
        return buyDate;
    }

    /**
     * 消费时间
     */
    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    /**
     * 微信ID
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * 微信ID
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }

    /**
     * 微信key
     */
    public String getSessionKey() {
        return sessionKey;
    }

    /**
     * 微信key
     */
    public void setSessionKey(String sessionKey) {
        this.sessionKey = sessionKey;
    }



    private Integer orderNum0;
    private Integer orderNum1;

    public Integer getOrderNum0() {
        return orderNum0;
    }

    public void setOrderNum0(Integer orderNum0) {
        this.orderNum0 = orderNum0;
    }

    public Integer getOrderNum1() {
        return orderNum1;
    }

    public void setOrderNum1(Integer orderNum1) {
        this.orderNum1 = orderNum1;
    }
}